Core: Added missing semicolon and moved compability stuff