Core: Moved resource helpers to handler