Setting up boilerplate for adapter use