Updated Frame object and spec tests with correct function names and syntax for private functions