Unify APIs and make everything return Locals and not Handles