Add imports and return values to allow compiling with projects.