Wrapped up basic functionality.