Why does getAllowedAction have to return null in order to compile? In theory could it not return something else like a word or sentence and still be OK?