Added enum for method types