diff --git a/src/interface_implementations/ballandbeam.jl b/src/interface_implementations/ballandbeam.jl
index 8cee43f453f0c7736ca3f5b4a366ec7c7de9e027..d83dd025762a1dac39e788243b739f8d2d1e551f 100644
--- a/src/interface_implementations/ballandbeam.jl
+++ b/src/interface_implementations/ballandbeam.jl
@@ -49,10 +49,10 @@ const AbstractBeamOrBallAndBeam = Union{AbstractBeam, AbstractBallAndBeam}
 num_outputs(p::AbstractBeam)             = 1
 num_outputs(p::AbstractBallAndBeam)      = 2
 num_inputs(p::AbstractBeamOrBallAndBeam) = 1
-outputrange(p::Beam)                     = [(-10,10)]
+outputrange(p::AbstractBeam)             = [(-10,10)]
 outputrange(p::AbstractBallAndBeam)      = [(-10,10),(-1,1)] # Beam angle, Ball position
 inputrange(p::AbstractBeamOrBallAndBeam) = [(-10,10)]
-isstable(p::Beam)                        = true
+isstable(p::AbstractBeam)                = true
 isstable(p::AbstractBallAndBeam)         = false
 isasstable(p::AbstractBeamOrBallAndBeam) = false
 sampletime(p::AbstractBeamOrBallAndBeam) = p.h