Missing imports and some methods