Fix:core:Add comments and some #defines for constants