avoid reflective calls

#215