Warning fixes.

Added return type definitions to some function and a constructor for
the Occupier class.