Proper handling of 'require' property