Cleaned up canvas API. It contained unnecessary set functions.