Use block_enum instead of int for better typesafety