Made the register_assets function static so it wont throw errors