Added getBoolean method for interface.