Fix codestyle in framework