Prevented exceptions from being thrown when no bean is present in game
context.