Remove 'type' argument from access_ok() function