Corrected method declarations to use appropriate enum types.
Added breaks to switch statement.