Create a Shortcuts trait for utilities functions and use it in simple resource.