Minor bugfix
Added method declarations to beginning of file